package com.itcast.dao;

import com.github.pagehelper.Page;
import com.itcast.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @className: UserDao
 * @description: TODO 类描述
 * @author: Jng
 * @date: 2022/4/17
 **/
public interface UserDao {
    User findByUsername(String username);

    Boolean registerUse(User user);

    Page<User> findPage(@Param("queryString") String queryString);

    boolean deleteById(@Param("id") Integer id);
}
